package com.group.commons.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author :spj
 * @date:2022/6/6
 * @description:11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Product {
    @TableId(type = IdType.AUTO)
    private int id;
    private String name;
    @TableField("image_url")
    private String imgUrl;
    private BigDecimal price;
    private String putaway;
    private String status;
    private int stock;
    private Date time;
}
